package com.example.cloudcommon.feign;


import com.example.cloudcommon.po.IdcOperateLog;
import com.example.cloudcommon.po.IdcUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "USER-SERVICE", contextId = "userClient")
public interface CenterUserClient {

    @GetMapping("/users")
    List<IdcUser> users() throws Exception;

}
